package com.example.dingtalk.service;

import com.aliyun.dingtalkworkflow_1_0.models.GetProcessInstanceResponseBody;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.text.ParseException;

/**
 * @author Administrator
 */
public interface ExpenseProcessHandler {
    /**
     * 处理数据工厂类
     * @param instance
     * @param flag
     * @param instanceId
     * @throws JsonProcessingException
     */
    void handle(GetProcessInstanceResponseBody.GetProcessInstanceResponseBodyResult instance,Boolean flag,String instanceId) throws JsonProcessingException, ParseException;


}
